﻿using UnityEngine;
using System.Collections;

public class MenuNavigation : MonoBehaviour
{
    //加载场景
    public void MainMenu()
    {
        Application.LoadLevel("menu");
    }

    public void Quit()
    {
        Application.Quit();
    }

    public void Play()
    {
        Application.LoadLevel("game");
    }

    public void HighScores()
    {
        Application.LoadLevel("scores");

    }

    public void Credits()
    {
        Application.LoadLevel("credits");
    }

    public void SourceCode()
    {
        Application.OpenURL("https://github.com/Deecyn/UnityGames.git");
    }
}
